﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using Enter.Services.Statistics;
using Enter.DataProxy.Statistics;

namespace Enter.Services.IcoStatistics
{
	public partial class Statistics : IStatistics
	{
		UserManager usermanager = new UserManager();

		public bool CheckUserPermission(int userid)
		{
			if (userid > 0)
			{
				DateTime endtime = usermanager.Show_UserVipTime(userid);
				if (endtime > DateTime.Now)
				{
					return true;
				}
			}
			return false;
		}

		public Enter.Services.Statistics.DTO.UserPvInfo ShowUserPvInfo(int userid)
		{
			throw new NotImplementedException();
		}

		public void AddUserIpPv(int userid, HttpContextBase HttpContext)
		{ 
			
		}
	}
}
